<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8">
    	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/>
        <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
        <meta name="format-detection" content="email=no"/>
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="format-detection" content="telephone=no" />
        <meta name="renderer" content="webkit">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
        <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="0" />
    	<title></title>
    	<link rel="shortcut icon" href="assets/images/favicon.ico" type="image/x-icon">
        <link rel="stylesheet" href="assets/css/typo.css">
        <link rel="stylesheet" href="assets/css/font-awesome.min.css">
        <link rel="stylesheet" href="assets/css/index.css">
       
    </head>
    <body  ng-app="app" ng-controller="mainContextController">
        
        <button type="button" onclick="println()" style="color: orange;background-color: orchid;">println/打印</button>
        <header class="header"></header>
       <div id="mainContext"> 
        <article class="container">
            <section class="side">
                <!-- 个人肖像 -->
                <section class="me">
                 

                    <h1 class="name">{{Conditioncontext.constionParent.content}}</h1>
                    <h4 class="info-job">{{Conditioncontext.student.typeStudent.names}}</h4>

                </section>

                <!-- 基本信息 -->
                <section class="profile info-unit">
                    <h2><i class="fa fa-user" aria-hidden="true"></i>基本信息</h2>
                    <hr/>
                    <ul>
                        <li>
                            <label>个人信息</label>
                            <span>{{Conditioncontext.student.name}} / {{Conditioncontext.student.sex}} / {{Conditioncontext.student.age}}</span>
                        </li>
                        <li>
                           
                            <span>{{Conditioncontext.constionParent.height}} ：{{Conditioncontext.height}}- {{Conditioncontext.constionParent.weight}}：{{Conditioncontext.weight}} - {{Conditioncontext.constionParent.abduction}} ：{{Conditioncontext.abduction}}- {{Conditioncontext.constionParent.fingerSpan}}：{{Conditioncontext.fingerSpan}}</span>
                        </li>
                        <li>
                            <label>加入时间</label>
                            <span>{{Conditioncontext.student.createTime}} </span>
                        </li>
                    </ul>
                </section>

                <!-- 联系方式 -->
                <section class="contact info-unit">
                    <h2><i class="fa fa-phone" aria-hidden="true"></i>联系方式</h2>
                    <hr/>
                    <ul>
                         <li><label>手机</label>{{Conditioncontext.student.phone}} </li>
                    <!--     <li><label>邮箱</label><a href="mailto:974116731@qq.com" target="_blank">974116731@qq.com</a></li>
                        <li><label>Gitee</label><a href="https://gitee.com/Eugenie/events" target="_blank">gitee.com/Eugenie/events</a></li>
                        <li><label>Github</label><a href="https://github.com/NFUNM031" target="_blank">github.com/NFUNM031</a></li> -->
                    </ul>
                </section>

                <!-- 技能点 -->
                <section class="skill info-unit">
                    <h2><i class="fa fa-code" aria-hidden="true"></i>技能点</h2>
                    <hr/>
                    <ul>
                        <li><label>{{Conditioncontext.constionParent.singForward}} ：{{Conditioncontext.singForward}} </label><progress value="{{Conditioncontext.singForward}}" max="99"></progress><label>{{Conditioncontext.singForwardRemake}}</label></li>
                        <li><label>{{Conditioncontext.constionParent.roundTrip}} ：{{Conditioncontext.roundTrip}}</label><progress value="{{Conditioncontext.roundTrip}}" max="9"></progress><label>{{Conditioncontext.roundTripRemake}}</label></li>
                        <li><label>{{Conditioncontext.constionParent.courtSprint}} ：{{Conditioncontext.courtSprint}}</label><progress value="{{Conditioncontext.courtSprint}}" max="8.5"></progress><label>{{Conditioncontext.courtSprintRemake}}</label></li>
                        <li><label>{{Conditioncontext.constionParent.restrtedArea}} ：{{Conditioncontext.restrtedArea}}</label><progress value="{{Conditioncontext.restrtedArea}}" max="8"></progress><label>{{Conditioncontext.restrtedAreaRemake}}</label></li>
                        <li><label>{{Conditioncontext.constionParent.klingWing}} ：{{Conditioncontext.klingWing}}</label><progress value="{{Conditioncontext.klingWing}}" max="50"></progress><label>{{Conditioncontext.klingWingRemake}}</label></li>
                        <li><label>{{Conditioncontext.constionParent.verticalJump}} ：{{Conditioncontext.verticalJump}}</label><progress value="{{Conditioncontext.verticalJump}}" max="50"></progress><label>{{Conditioncontext.verticalJumpRemake}}</label></li>
                        <li><label>{{Conditioncontext.constionParent.continJump}} ：{{Conditioncontext.contiNump}}</label><progress value="{{Conditioncontext.contiNump}}" max="50"></progress><label>{{Conditioncontext.continJumpRemake}}</label></li>
                    </ul>
                </section>

                
            </section>

            <section class="main">
               
                <section class="edu info-unit">
                    <h2><i class="fa fa-graduation-cap" aria-hidden="true"></i>{{Conditioncontext.inforExport.contentOne}}</h2>
                    <ul>
                       <li>
                            <span>{{Conditioncontext.inforExport.contentOneText}}</span>           
                        </li>
                       
                    </ul>
                </section>

				<section class="school info-unit">
				<h2><i class="fa fa-globe " aria-hidden="true"></i>{{Conditioncontext.inforExport.contentTow}}</h2>
                    <ul>
                        <li>
                          <span>{{Conditioncontext.inforExport.contentTowText}}</span>           
                        </li>
                    </ul>
                </section>    

                <!-- 项目经验 -->
                <section class="project info-unit">
                    <h2><i class="fa fa-wordpress" aria-hidden="true"></i>{{Conditioncontext.inforExport.contentThree}}</h2>
                    <ul>
                        <li>{{Conditioncontext.inforExport.contentThreeText}}</li>   
                    </ul>
                </section>

                <!-- 求职意向 -->
				<section class="intention info-unit">
				<h2><i class="fa fa-heart" aria-hidden="true"></i>{{Conditioncontext.inforExport.contentForth}}</h2>
                    <ul>
                        <li>
                            {{Conditioncontext.inforExport.contentForthText}}       
                        </li>                     
                    </ul>
                </section> 

                <!-- 自我评价 -->
                <section class="work info-unit">
                    <h2><i class="fa fa-pencil" aria-hidden="true"></i> {{Conditioncontext.inforExport.contentFixe}} </h2>
                    {{Conditioncontext.inforExport.contentFixeText}}     
				 
                </section>

                <!-- 座右铭 -->
              
            </section>
        </article>

        

        <footer class="footer">
            <p>一凡体育<time> </time>.</p>
        </footer>
    </div> 
       

        <script src="./assets/js/index.js"></script>
        <script src="../../layuiadmin/jquery/jquery-1.11.1.min.js"></script>
        <script src="../../layuiadmin/jquery/angular.js"></script>
         <script src="../../layuiadmin/url.js"></script>
        <script src="../../layuiadmin/layui/layui.js"></script>
        <script>
  var app = angular.module('app', []);
        app.controller('mainContextController', ['$scope', '$http', function($scope, $http) {
            //获取url地址栏
            function getQueryVariable(variable) {
                var query = window.location.search.substring(1);
                var vars = query.split("&");
                for (var i = 0; i < vars.length; i++) {
                    var pair = vars[i].split("=");
                    if (pair[0] == variable) {
                        return pair[1];
                    }
                }
                return (false);
            }

            $scope.getConditionTypeContext = function() {
                // var cid = $("#conditionType").val();
                var cid = getQueryVariable("cid");
                console.log(cid);
                if (cid != "") {
                    // $(".form-items-show").attr("style", "display:block");
                    console.log("ok");

                    $http({
                        method: 'POST',
                        url: applicationUrl + 'constitution/api/selectConstionParentByCid',
                        headers: {
                            "Content-Type": 'application/x-www-form-urlencoded'
                        },
                        params: {
                            cid: cid
                        },
                    }).success(function(result) {
                        $scope.Conditioncontext = result.data;
                       
                    }).error(function(data, status) {
                        console.log(" ");
                    });
                } else {
                    console.log("no");
                }
            };
            $scope.getConditionTypeContext();
            




        }]);

        </script>
         <script type="text/javascript">
            // window.print();
            function println(){
                console.log("打印");
            var newStr = document.getElementById("mainContext").innerHTML;//获取打印的部分
            var bodyStr = document.body.innerHtml;//获取当前页所有内容
            document.body.innerHTML = newStr; //打印部分写到当前页
            window.print(); //执行打印功能
            document.body.innerHTML = bodyStr;
            }
            
         </script>
    </body>
</html>